using UnityEngine;
using System.Collections;

public class Enemy : Character
{
	
	protected override void OnHit(Collider collider)
	{
		switch (collider.name)
		{
		case "Player":
			OnDeath(collider);
			break;
		case "Bullet":
			OnDamage(collider);
			break;
		}
	}
	
}
